package com.icefish.bean;

/**
 * Description: 表shopping_cart
 * Date: 2022/11/30 23:07
 * Author: 26480
 * @since JDK 1.8
 */
public class Shopping_cart {
    // 属性
    private Integer shopping_cart_id;
    private Integer shopping_count;
    private Integer shopping_amount;
    private Integer goods_id;
    private String goods_name;
    private Integer goods_price;
    private String goods_picture;
    private String goods_describe;
    private Integer user_id;
    private String username;

    // 构造器

    public Shopping_cart() {
    }

    public Shopping_cart(Integer shopping_cart_id, Integer shopping_count, Integer shopping_amount, Integer goods_id, String goods_name, Integer goods_price, String goods_picture, String goods_describe, Integer user_id, String username) {
        this.shopping_cart_id = shopping_cart_id;
        this.shopping_count = shopping_count;
        this.shopping_amount = shopping_amount;
        this.goods_id = goods_id;
        this.goods_name = goods_name;
        this.goods_price = goods_price;
        this.goods_picture = goods_picture;
        this.goods_describe = goods_describe;
        this.user_id = user_id;
        this.username = username;
    }

    // toString()

    @Override
    public String toString() {
        return "shopping_cart{" +
                "shopping_cart_id=" + shopping_cart_id +
                ", shopping_count=" + shopping_count +
                ", shopping_amount=" + shopping_amount +
                ", goods_id=" + goods_id +
                ", goods_name='" + goods_name + '\'' +
                ", goods_price=" + goods_price +
                ", goods_picture='" + goods_picture + '\'' +
                ", goods_describe='" + goods_describe + '\'' +
                ", user_id=" + user_id +
                ", username='" + username + '\'' +
                '}';
    }


    // getter() and setter()

    public Integer getShopping_cart_id() {
        return shopping_cart_id;
    }

    public void setShopping_cart_id(Integer shopping_cart_id) {
        this.shopping_cart_id = shopping_cart_id;
    }

    public Integer getShopping_count() {
        return shopping_count;
    }

    public void setShopping_count(Integer shopping_count) {
        this.shopping_count = shopping_count;
    }

    public Integer getShopping_amount() {
        return shopping_amount;
    }

    public void setShopping_amount(Integer shopping_amount) {
        this.shopping_amount = shopping_amount;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public Integer getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(Integer goods_price) {
        this.goods_price = goods_price;
    }

    public String getGoods_picture() {
        return goods_picture;
    }

    public void setGoods_picture(String goods_picture) {
        this.goods_picture = goods_picture;
    }

    public String getGoods_describe() {
        return goods_describe;
    }

    public void setGoods_describe(String goods_describe) {
        this.goods_describe = goods_describe;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
